package com.obj;

public class FatherClass {

	public int value;
	
	public void f()
	{
		this.value = 100;
		System.out.println("value is:" + value);
	}
	
//	public static void main(String args[])
//	{
//		ChildClass c = new ChildClass();
//		c.f();
//	}
}

class ChildClass extends FatherClass
{
	public int value;
	
	public void f()
	{
		super.f();
		value = 200;
		System.out.println("value is:" + value);
	}
	
}
